package com.fcscs.cservice.client.common.model.reservation;

import com.fcscs.core.common.MainEnums.HasDisplayString;
import com.fcscs.core.gwt.common.CoreConstants;

public enum YesNoGWTEnum implements HasDisplayString {
	YES(CoreConstants.CORE_CONSTANTS.yes(), YesNoEnum.YES),
    NO(CoreConstants.CORE_CONSTANTS.no(), YesNoEnum.NO)
	;
    
	private String displayStr;
	private YesNoEnum yn;
	
	private YesNoGWTEnum(String displayStr, YesNoEnum yn) {
		this.displayStr = displayStr;
		this.yn = yn;
	}

	@Override
	public String getDisplayStr() {
		return displayStr;
	}

	public YesNoEnum getYn() {
		return yn;
	}
}
